package com.example.androidlearning2422.ui.kotlin

fun celsiusToFohrenheit(c: Double): Double {
    return c * 9 / 5 + 32
}
fun main(){
    print("请输入摄氏度：")
    val c = readln().toDouble()
    val h = celsiusToFohrenheit(c)
    print(h)
}

